package com.qf.six.ssm.commen.utils;

public class RandomUtils {
    public static String random() {
        //需要生成几位
        int n = 2;
        //最终生成的字符串
        String str = "";
        for (int i = 0; i < n; i++) {
            str = str + (char)(Math.random()*26+'A');
        }
        return str;
    }
}
